package com.bwf.jdbc;

import java.sql.*;
import java.util.Date;

/**
 * @Version v1.0
 * @Description: TODO
 * @Author ZHANZHONGXIN
 * @Date 2022/6/1 9:46
 * @Copyright 博为峰
 */
public class JdbcDemo03 {
    public static void main(String[] args) throws SQLException, ClassNotFoundException {
        StudentDao studentDao = new StudentDao();
        Date date = new Date();
        Student student = new Student("孙越", "男", date, 1999, date, date, 2);
//        insert(student);
//        update(student);
        studentDao.query(student);
    }
}
